<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>Test</title>

    <!-- Bootstrap -->
    <link href="lib/bootstrap-4.6.0/css/bootstrap.min.css" rel="stylesheet">

    <link rel="stylesheet" href="lib/editormd/css/editormd.min.css" >

    <link rel="stylesheet" href="lib/semantic.min.css">

    <script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>

</head>
<body>

<div id="app">

</div>


<!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
<script src="lib/jquery-3.5.1.min.js"></script>
<!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
<script src="lib/bootstrap-4.6.0/js/bootstrap.min.js"></script>
<script src="lib/semantic.min.js"></script>
<script src="lib/vue.js"></script>
<script src="lib/editormd/editormd.min.js" ></script>

<script>
    var vue = new Vue(
        {
            el:"#app",
            data:{
                message:"hello Vue!",

            },
            methods:{
                getTypes:function () {
                    $.post("/test/getBlog",{id:"18"},function (data) {
                        //alert(data);
                        vue.blogContent=data;
                    },"text");
                }
            }

        }
    )
</script>
</body>
</html>